[INFO] fetching crate sqlite-regex 0.2.4-alpha.1...
[INFO] fixing sqlite-regex-0.2.4-alpha.1 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate sqlite-regex 0.2.4-alpha.1 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate sqlite-regex 0.2.4-alpha.1
[INFO] finished tweaking crates.io crate sqlite-regex 0.2.4-alpha.1
[INFO] tweaked toml for crates.io crate sqlite-regex 0.2.4-alpha.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate sqlite-regex 0.2.4-alpha.1 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 75 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ab9e8ffbc7c6a5205efe56aa9bfc4bc58d46c0819ed95b3f8abd46e6d3f4ed67
[INFO] running `Command { std: "docker" "start" "ab9e8ffbc7c6a5205efe56aa9bfc4bc58d46c0819ed95b3f8abd46e6d3f4ed67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ab9e8ffbc7c6a5205efe56aa9bfc4bc58d46c0819ed95b3f8abd46e6d3f4ed67" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ab9e8ffbc7c6a5205efe56aa9bfc4bc58d46c0819ed95b3f8abd46e6d3f4ed67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ab9e8ffbc7c6a5205efe56aa9bfc4bc58d46c0819ed95b3f8abd46e6d3f4ed67" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling memchr v2.8.2
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling os_str_bytes v6.6.1
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling bitflags v2.13.0
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling libloading v0.8.9
[INFO] [stderr]    Compiling log v0.4.33
[INFO] [stderr]    Compiling textwrap v0.16.2
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling bindgen v0.60.1
[INFO] [stderr]    Compiling humantime v2.3.0
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]    Compiling sqlite-regex v0.2.4-alpha.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2021 edition to 2024
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling clap v3.2.25
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling regex v1.12.4
[INFO] [stderr]    Compiling sqlite-loadable-macros v0.0.3
[INFO] [stderr]    Compiling env_logger v0.9.3
[INFO] [stderr]    Compiling sqlite3ext-sys v0.0.1
[INFO] [stderr]     Checking sqlite-loadable v0.0.6-alpha.6
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | / pub fn sqlite3_regex_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 24 | |     let flags = FunctionFlags::UTF8 | FunctionFlags::DETERMINISTIC;
[INFO] [stdout] 25 | |
[INFO] [stdout] 26 | |     define_scalar_function(db, "regex_version", 0, regex_version, flags)?;
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | |     Ok(())
[INFO] [stdout] 55 | | }
[INFO] [stdout]    | |_^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]    = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 23 ~ unsafe(pub fn sqlite3_regex_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 24 |     let flags = FunctionFlags::UTF8 | FunctionFlags::DETERMINISTIC;
[INFO] [stdout] ...
[INFO] [stdout] 54 |     Ok(())
[INFO] [stdout] 55 ~ })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: errors present after applying fixes to crate `sqlite_regex`
[INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::<T>::from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/utils.rs:105:10
[INFO] [stdout]     |
[INFO] [stdout] 105 |     drop(Box::from_raw(arg1.cast::<Regex>()))
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/utils.rs:104:1
[INFO] [stdout]     |
[INFO] [stdout] 104 | unsafe extern "C" fn cleanup_regex(arg1: *mut c_void) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]  --> src/lib.rs
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr]   = cause: error: expected item after attributes
[INFO] [stderr]              --> src/lib.rs:22:1
[INFO] [stderr]               |
[INFO] [stderr]            22 | #[sqlite_entrypoint]
[INFO] [stderr]               | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | / pub fn sqlite3_regex_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 24 | |     let flags = FunctionFlags::UTF8 | FunctionFlags::DETERMINISTIC;
[INFO] [stdout] 25 | |
[INFO] [stdout] 26 | |     define_scalar_function(db, "regex_version", 0, regex_version, flags)?;
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | |     Ok(())
[INFO] [stdout] 55 | | }
[INFO] [stdout]    | |_^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]    = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 23 ~ unsafe(pub fn sqlite3_regex_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 24 |     let flags = FunctionFlags::UTF8 | FunctionFlags::DETERMINISTIC;
[INFO] [stdout] ...
[INFO] [stdout] 54 |     Ok(())
[INFO] [stdout] 55 ~ })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: errors present after applying fixes to crate `sqlite_regex`
[INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::<T>::from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/utils.rs:105:10
[INFO] [stdout]     |
[INFO] [stdout] 105 |     drop(Box::from_raw(arg1.cast::<Regex>()))
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/utils.rs:104:1
[INFO] [stdout]     |
[INFO] [stdout] 104 | unsafe extern "C" fn cleanup_regex(arg1: *mut c_void) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]  --> src/lib.rs
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr]   = cause: error: expected item after attributes
[INFO] [stderr]              --> src/lib.rs:22:1
[INFO] [stderr]               |
[INFO] [stderr]            22 | #[sqlite_entrypoint]
[INFO] [stderr]               | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s
[INFO] [stderr] crater-edition-check: sqlite-regex v0.2.4-alpha.1 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling sqlite-regex v0.2.4-alpha.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ffi::c_void`
[INFO] [stdout]   --> src/captures.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::{ffi::c_void, mem, os::raw::c_int};
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | / pub fn sqlite3_regex_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 24 | |     let flags = FunctionFlags::UTF8 | FunctionFlags::DETERMINISTIC;
[INFO] [stdout] 25 | |
[INFO] [stdout] 26 | |     define_scalar_function(db, "regex_version", 0, regex_version, flags)?;
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | |     Ok(())
[INFO] [stdout] 55 | | }
[INFO] [stdout]    | |_^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 23 ~ unsafe(pub fn sqlite3_regex_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 24 |     let flags = FunctionFlags::UTF8 | FunctionFlags::DETERMINISTIC;
[INFO] [stdout] ...
[INFO] [stdout] 54 |     Ok(())
[INFO] [stdout] 55 ~ })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ffi::c_void`
[INFO] [stdout]   --> src/captures.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::{ffi::c_void, mem, os::raw::c_int};
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | / pub fn sqlite3_regex_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 24 | |     let flags = FunctionFlags::UTF8 | FunctionFlags::DETERMINISTIC;
[INFO] [stdout] 25 | |
[INFO] [stdout] 26 | |     define_scalar_function(db, "regex_version", 0, regex_version, flags)?;
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | |     Ok(())
[INFO] [stdout] 55 | | }
[INFO] [stdout]    | |_^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 23 ~ unsafe(pub fn sqlite3_regex_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 24 |     let flags = FunctionFlags::UTF8 | FunctionFlags::DETERMINISTIC;
[INFO] [stdout] ...
[INFO] [stdout] 54 |     Ok(())
[INFO] [stdout] 55 ~ })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::<T>::from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/utils.rs:105:10
[INFO] [stdout]     |
[INFO] [stdout] 105 |     drop(Box::from_raw(arg1.cast::<Regex>()))
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/utils.rs:104:1
[INFO] [stdout]     |
[INFO] [stdout] 104 | unsafe extern "C" fn cleanup_regex(arg1: *mut c_void) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sqlite-regex` (lib test) due to 1 previous error; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::<T>::from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/utils.rs:105:10
[INFO] [stdout]     |
[INFO] [stdout] 105 |     drop(Box::from_raw(arg1.cast::<Regex>()))
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/utils.rs:104:1
[INFO] [stdout]     |
[INFO] [stdout] 104 | unsafe extern "C" fn cleanup_regex(arg1: *mut c_void) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sqlite-regex` (lib) due to 1 previous error; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ab9e8ffbc7c6a5205efe56aa9bfc4bc58d46c0819ed95b3f8abd46e6d3f4ed67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab9e8ffbc7c6a5205efe56aa9bfc4bc58d46c0819ed95b3f8abd46e6d3f4ed67", kill_on_drop: false }`
[INFO] [stdout] ab9e8ffbc7c6a5205efe56aa9bfc4bc58d46c0819ed95b3f8abd46e6d3f4ed67
